package com.kangdi.server.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.kangdi.server.pojo.MenuRole;
import com.kangdi.server.pojo.RespBean;


/**
 * <p>
 * InnoDB free: 7168 kB; (`mid`) REFER `yeb/t_menu`(`id`); (`rid`) REFER `yeb/t_rol 服务类
 * </p>
 *
 * @author kangdi
 * @since 2022-10-04
 */
public interface IMenuRoleService extends IService<MenuRole> {
    /**
     * 根据角色id更新菜单id
     * @param rid
     * @param mid
     * @return
     */
    RespBean updateMidByRid(Integer rid, Integer[] mids);
}
